import django
from django.contrib.sessions.models import Session

for s in Session.objects.all():
    s.delete()
